package com.lhf.fvscommon.result;

/**
 * <p></p>
 *
 * @author lhf
 * @since 2020/10/22 10:28
 */
public enum Status {

    SUCCESS(2000, "请求成功"),
    FAILURE(5000, "请求失败"),
    ERROR_PASSWORD(4000, "错误的密码，或者用户名不存在"),
    NO_AUTHORITY(4001, "无权访问"),
    NO_LOGIN(4002, "未登录"),
    ;

    public int code;
    public String mes;

    Status(int code, String mes) {
        this.code = code;
        this.mes = mes;
    }
}
